<?php

use think\migration\Seeder;

class VuserRelationSeeder extends Seeder
{
    /**
     * Run Method.
     *
     * Write your database seeder using this method.
     *
     * More information on writing seeders is available here:
     * http://docs.phinx.org/en/latest/seeding.html
     */
    public function run()
    {
        $data = [
            ['name'=>'祖父'],
            ['name'=>'祖母'],
            ['name'=>'外祖父'],
            ['name'=>'外祖母'],
            ['name'=>'姑丈'],
            ['name'=>'姑妈'],
            ['name'=>'叔父'],
            ['name'=>'婶婶'],
            ['name'=>'伯父'],
            ['name'=>'伯母'],
            ['name'=>'父亲'],
            ['name'=>'母亲'],
            ['name'=>'舅舅'],
            ['name'=>'舅妈'],
            ['name'=>'姨丈'],
            ['name'=>'姨妈'],
            ['name'=>'表兄'],
            ['name'=>'表弟'],
            ['name'=>'表姐'],
            ['name'=>'表妹'],
            ['name'=>'堂兄'],
            ['name'=>'堂弟'],
            ['name'=>'堂姐'],
            ['name'=>'堂妹'],
            ['name'=>'弟弟'],
            ['name'=>'弟媳'],
            ['name'=>'哥哥'],
            ['name'=>'嫂子'],
            ['name'=>'丈夫'],
            ['name'=>'妻子'],
            ['name'=>'姐夫'],
            ['name'=>'姐姐'],
            ['name'=>'妹夫'],
            ['name'=>'妹妹'],
            ['name'=>'表兄弟'],
            ['name'=>'表姐妹'],
            ['name'=>'侄子'],
            ['name'=>'侄女'],
            ['name'=>'儿子'],
            ['name'=>'儿媳'],
            ['name'=>'女儿'],
            ['name'=>'女婿'],
            ['name'=>'外甥'],
            ['name'=>'外甥女'],
            ['name'=>'孙子'],
            ['name'=>'孙女'],
            ['name'=>'外孙'],
            ['name'=>'外孙女'],
        ];
        $table = $this->table('user_relation');
        //$table->insert($data)->save();
    }
}